import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;

public class CheckPrice {

    @Test
    public void testCheckPrice() {
	WebDriver driver = new FirefoxDriver();

	driver.get("http://www.internetowykantor.pl");
	WebElement element = driver.findElement(By
		.xpath("//td[@class='kurs_kupna']"));
	System.out.println("Kurs kupna: " + element.getText());
	driver.quit();
    }
}
